package 标准代码;

import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;


/**
 * Created by 5406160@qq.com on LiBoWen 李博闻.
 *
 * @ClassName : 字符流一次一个字符复制文件
 * @Author : 54061
 * @Date: 2022/2/13 20:16
 */
/*
yuan
 */
public class 字符流一次一个字符复制文件 {
    public static void main(String[] args) throws IOException {
        FileInputStream fis = new FileInputStream("");
        FileOutputStream fos = new FileOutputStream("");


        int by;
        while((by=fis.read())!=-1){
            fos.write(by);

        }
        fis.close();
        fis.close();
    }
}
